import Vue from 'vue'
import App from './App.vue'
import router from './router'

import './plugins/element.js'//导入全局样式elemnt
import './styles/global.css'//导入全局样式
import '@/assets/fonts/iconfont.css'//iconfont

import './components/index' //引入公共组件
import $pub from './utils/bus' //发布订阅

Vue.config.productionTip = false

Vue.prototype.$bus = $pub

new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
